package com.sinochem.yunlian.ship.base.mapper;

import com.sinochem.yunlian.ship.base.entity.BsCategory;
import com.sinochem.yunlian.ship.base.entity.BsMaterialCategory;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 类别字典信息表
 * 
 * @author cyp
 * @email ${email}
 * @date 2017-11-21 19:06:25
 */
public interface BsCategoryMapper extends Mapper<BsCategory> {

    List<BsCategory> findAllCategory(@Param("categoryType") String categoryType);

    String getBsCategoryList(Long id);

    List<BsCategory> findCategoryByCondition(Map param);

    List<BsCategory> findByLevel();
}
